package com.mayuran19.portal.accounting.database.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.mayuran19.portal.common.database.domain.DomainObject;

@Entity(name = "term_of_payments")
@org.hibernate.annotations.Entity(dynamicUpdate = true)
public class TermOfPayment extends DomainObject {
	private Long id;
	private String termOfPayment;
	private String description;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTermOfPayment() {
		return termOfPayment;
	}

	public void setTermOfPayment(String termOfPayment) {
		this.termOfPayment = termOfPayment;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
